package cn.com.bod.fas.pm.model.po;

import cn.com.yusys.yusp.commons.mapper.domain.BaseDomain;
import lombok.Data;

import java.io.Serializable;
import javax.persistence.*;


/**
 * @description 企业客户基础信息表
 * @author houyaoxun
 * @date 2019年9月25日
 * @version 1.0.0
 * @Copyright (c) scfhdt
 */
@Entity
@Data
@Table(name = "cu_corp_cust_base")
public class CuCorpCustBase extends BaseDomain implements Serializable{
	private static final long serialVersionUID = 1L;
	
	/** 客户编号 **/
	@Id
	@Column(name = "CUST_NO")
	private String custNo;

	/** 机构名称 **/
	@Column(name = "CUST_NAME", unique = false, nullable = true, length = 80)
	private String custName;
	
	/** 企业英文名 **/
	@Column(name = "EN_NAME", unique = false, nullable = true, length = 80)
	private String enName;
	
	/** 主结算银行 **/
	@Column(name = "MAIN_STL_BANK_ID", unique = false, nullable = true, length = 10)
	private Integer mainStlBankId;
	
	/** 注册资金币种 **/
	@Column(name = "REG_CAP_CCY_ID", unique = false, nullable = true, length = 10)
	private Integer regCapCcyId;
	
	/** 注册资金金额 **/
	@Column(name = "REG_CAP_AMT", unique = false, nullable = true, length = 18)
	private java.math.BigDecimal regCapAmt;
	
	/** 境内客户类别 **/
	@Column(name = "DOM_CUST_TYPE_ID", unique = false, nullable = true, length = 10)
	private Integer domCustTypeId;
	
	/** 法金客户类型（核心） **/
	@Column(name = "FAG_CUST_TYPE_ID", unique = false, nullable = true, length = 10)
	private Integer fagCustTypeId;
	
	/** 总部所在国别 **/
	@Column(name = "HQ_COUNTRY_CODE", unique = false, nullable = true, length = 10)
	private Integer hqCountryCode;
	
	/** 国家或地区代码 **/
	@Column(name = "COUNTRY_ZONE_CODE", unique = false, nullable = true, length = 10)
	private Integer countryZoneCode;
	
	/** 行政区划代码 **/
	@Column(name = "DIST_CODE", unique = false, nullable = true, length = 10)
	private Integer distCode;
	
	/** 组织机构类型 **/
	@Column(name = "ORG_TYPE_CODE", unique = false, nullable = true, length = 10)
	private Integer orgTypeCode;
	
	/** 组织机构代码 **/
	@Column(name = "ORG_CODE", unique = false, nullable = true, length = 10)
	private Integer orgCode;
	
	/** 营业执照号码 **/
	@Column(name = "BIZ_LICS_CODE", unique = false, nullable = true, length = 32)
	private String bizLicsCode;
	
	/** 行业分类（主营） **/
	@Column(name = "MAIN_INDUS_TYPE_ID", unique = false, nullable = true, length = 10)
	private Integer mainIndusTypeId;
	
	/** 行业分类（副营） **/
	@Column(name = "SIDELINE_INDUS_TYPE_ID", unique = false, nullable = true, length = 10)
	private Integer sidelineIndusTypeId;
	
	/** 产业划分 **/
	@Column(name = "INDUS_DIVIDE", unique = false, nullable = true, length = 20)
	private String indusDivide;
	
	/** 行业特征 **/
	@Column(name = "INDUS_FEA_ID", unique = false, nullable = true, length = 10)
	private Integer indusFeaId;
	
	/** 企业性质 **/
	@Column(name = "CORP_CHA_ID", unique = false, nullable = true, length = 10)
	private Integer corpChaId;
	
	/** 企业规模（银监） **/
	@Column(name = "CBRC_CORP_SIZE_ID", unique = false, nullable = true, length = 10)
	private Integer cbrcCorpSizeId;
	
	/** 企业规模（人行） **/
	@Column(name = "THE_PBC_CORP_SIZE_ID", unique = false, nullable = true, length = 10)
	private Integer thePbcCorpSizeId;
	
	/** 企业规模（存款） **/
	@Column(name = "DPSIT_CORP_SIZE_ID", unique = false, nullable = true, length = 10)
	private Integer dpsitCorpSizeId;
	
	/** 主要生产设备 **/
	@Column(name = "PROD_EQUIP", unique = false, nullable = true, length = 20)
	private String prodEquip;
	
	/** 实际生产能力 **/
	@Column(name = "PROD_ABILITY", unique = false, nullable = true, length = 20)
	private String prodAbility;
	
	/** 上级主管单位 **/
	@Column(name = "SUP_MGR_NAME", unique = false, nullable = true, length = 80)
	private String supMgrName;
	
	/** 资产规模 **/
	@Column(name = "ASSET_SIZE_ID", unique = false, nullable = true, length = 10)
	private Integer assetSizeId;
	
	/** 员工规模 **/
	@Column(name = "EMPLY_SIZE_ID", unique = false, nullable = true, length = 10)
	private Integer emplySizeId;
	
	/** 经济类型 **/
	@Column(name = "STOCK_TYPE_ID", unique = false, nullable = true, length = 10)
	private Integer stockTypeId;
	
	/** 控股类型 **/
	@Column(name = "HOLD_TYPE_ID", unique = false, nullable = true, length = 10)
	private Integer holdTypeId;
	
	/** 组织形式 **/
	@Column(name = "ORG_FORM_ID", unique = false, nullable = true, length = 10)
	private Integer orgFormId;
	
	/** 行内行业类别 **/
	@Column(name = "INTE_INDUS_TYPE_ID", unique = false, nullable = true, length = 10)
	private Integer inteIndusTypeId;
	
	/** 行业分类（企业规模） **/
	@Column(name = "INDUS_TYPE_ID", unique = false, nullable = true, length = 10)
	private Integer indusTypeId;
	
	/** 投资主体 **/
	@Column(name = "INVESTOR_ID", unique = false, nullable = true, length = 10)
	private Integer investorId;
	
	/** 企业隶属 **/
	@Column(name = "CORP_ADMIN_LVL", unique = false, nullable = true, length = 10)
	private Integer corpAdminLvl;
	
	/** 主管部门 **/
	@Column(name = "EXE_DEPT", unique = false, nullable = true, length = 60)
	private String exeDept;
	
	/** 主营业务 **/
	@Column(name = "MAIN_BIZ", unique = false, nullable = true, length = 500)
	private String mainBiz;
	
	/** 兼营业务 **/
	@Column(name = "SIDELINE_BIZ", unique = false, nullable = true, length = 500)
	private String sidelineBiz;
	
	/** 经营方式 **/
	@Column(name = "OPER_MODE_ID", unique = false, nullable = true, length = 10)
	private Integer operModeId;
	
	/** 开始营业时间 **/
	@Column(name = "BIZ_TIME", unique = false, nullable = true, length = 14)
	private String bizTime;
	
	/** 经费来源 **/
	@Column(name = "FUND_SRC", unique = false, nullable = true, length = 200)
	private String fundSrc;
	
	/** 外汇许可证号码 **/
	@Column(name = "FX_PERMIT_NO", unique = false, nullable = true, length = 30)
	private String fxPermitNo;
	
	/** 产业化龙头企业级别 **/
	@Column(name = "LEADING_CORP_LVL_ID", unique = false, nullable = true, length = 10)
	private Integer leadingCorpLvlId;
	
	/** 特种经营标志 **/
	@Column(name = "SPEC_OPER_FLAG", unique = false, nullable = true, length = 10)
	private Integer specOperFlag;
	
	/** 特种经营许可证编号 **/
	@Column(name = "SPEC_LICS_NO", unique = false, nullable = true, length = 80)
	private String specLicsNo;
	
	/** 特种经营情况 **/
	@Column(name = "SPEC_OPER_DESC", unique = false, nullable = true, length = 80)
	private String specOperDesc;
	
	/** 特种许可证颁发机关 **/
	@Column(name = "SPEC_LICS_ISSUE_ORG_NAME", unique = false, nullable = true, length = 80)
	private String specLicsIssueOrgName;
	
	/** 特种经营起始日期 **/
	@Column(name = "SEPC_LICS_START_DATE", unique = false, nullable = true, length = 8)
	private String sepcLicsStartDate;
	
	/** 特种经营到期日期 **/
	@Column(name = "SEPC_LICS_EXPIRE_DATE", unique = false, nullable = true, length = 8)
	private String sepcLicsExpireDate;
	
	/** 有无贷款卡 **/
	@Column(name = "LOAN_CARD_FLAG", unique = false, nullable = true, length = 10)
	private Integer loanCardFlag;
	
	/** 贷款卡号码 **/
	@Column(name = "LOAN_CARD_NO", unique = false, nullable = true, length = 32)
	private String loanCardNo;
	
	/** 法人证件类型 **/
	@Column(name = "LEGAL_REP_CERT_TYPE_ID", unique = false, nullable = true, length = 10)
	private String legalRepCertTypeId;
	
	/** 法人证件号 **/
	@Column(name = "LEGAL_REP_CERT_NO", unique = false, nullable = true, length = 30)
	private String legalRepCertNo;
	
	/** 法人代表客户号 **/
	@Column(name = "LEGAL_REP_CUST_NO", unique = false, nullable = true, length = 20)
	private String legalRepCustNo;
	
	/** 法人姓名 **/
	@Column(name = "LEGAL_REP_REP_NAME", unique = false, nullable = true, length = 20)
	private String legalRepRepName;
	
	/** 性别 **/
	@Column(name = "LEGAL_REP_GENDER_ID", unique = false, nullable = true, length = 10)
	private Integer legalRepGenderId;
	
	/** 手机号 **/
	@Column(name = "LEGAL_REP_TEL_NUM", unique = false, nullable = true, length = 15)
	private String legalRepTelNum;
	
	/** 担任职务起始日期 **/
	@Column(name = "LEGAL_REP_POS_BEGIN_DATE", unique = false, nullable = true, length = 8)
	private String legalRepPosBeginDate;
	
	/** 婚姻状况 **/
	@Column(name = "LEGAL_REP_MARRIED_FLAG", unique = false, nullable = true, length = 10)
	private String legalRepMarriedFlag;
	
	/** 配偶人证件类型 **/
	@Column(name = "LEGAL_REP_SPO_CERT_TYPE_ID", unique = false, nullable = true, length = 10)
	private String legalRepSpoCertTypeId;
	
	/** 配偶人证件号码 **/
	@Column(name = "LEGAL_REP_SPO_CERT_NO", unique = false, nullable = true, length = 30)
	private String legalRepSpoCertNo;
	
	/** 配偶客户 编号 **/
	@Column(name = "LEGAL_REP_SPO_CUST_NO", unique = false, nullable = true, length = 20)
	private String legalRepSpoCustNo;
	
	/** 配偶手机号 **/
	@Column(name = "LEGAL_REP_SPO_TEl_NUM", unique = false, nullable = true, length = 15)
	private String lEGALREPSPOTElNUM;
	
	/** 实际控制人证件类型 **/
	@Column(name = "ACTUAL_CTLR_CERT_TYPE_ID", unique = false, nullable = true, length = 10)
	private String actualCtlrCertTypeId;
	
	/** 实际控制人证件号码 **/
	@Column(name = "ACTUAL_CTLR_CERT_NO", unique = false, nullable = true, length = 30)
	private String actualCtlrCertNo;
	
	/** 实际控制人客户编号 **/
	@Column(name = "ACTUAL_CTLR_CUST_NO", unique = false, nullable = true, length = 20)
	private String actualCtlrCustNo;
	
	/** 实际控制人姓名 **/
	@Column(name = "ACTUAL_CTLR_NAME", unique = false, nullable = true, length = 20)
	private String actualCtlrName;
	
	/** 实际控制人性别 **/
	@Column(name = "ACTUAL_CTLR_GENDER_ID", unique = false, nullable = true, length = 10)
	private Integer actualCtlrGenderId;
	
	/** 实际控制人手机号 **/
	@Column(name = "ACTUAL_CTLR_TEL_NUM", unique = false, nullable = true, length = 15)
	private String actualCtlrTelNum;
	
	/** 实际控制人担任职务起始日期 **/
	@Column(name = "ACTUAL_CTLR_BEGIN_DATE", unique = false, nullable = true, length = 8)
	private String actualCtlrBeginDate;
	
	/** 实际控制人婚姻状况 **/
	@Column(name = "ACTUAL_CTLR_MARRIAGE_FLAG", unique = false, nullable = true, length = 10)
	private Integer actualCtlrMarriageFlag;
	
	/** 实际控制人配偶证件类型 **/
	@Column(name = "ACTUAL_CTLR_SPO_CERT_TYPE_ID", unique = false, nullable = true, length = 10)
	private Integer actualCtlrSpoCertTypeId;
	
	/** 实际控制人配偶证件号 **/
	@Column(name = "ACTUAL_CTLR_SPO_CERT_NO", unique = false, nullable = true, length = 30)
	private String actualCtlrSpoCertNo;
	
	/** 实际控制人配偶姓名 **/
	@Column(name = "ACTUAL_CTLR_SPO_NAME", unique = false, nullable = true, length = 20)
	private String actualCtlrSpoName;
	
	/** 实际控制人配偶客户编号 **/
	@Column(name = "ACTUAL_CTLR_SPO_CUST_NO", unique = false, nullable = true, length = 20)
	private String actualCtlrSpoCustNo;
	
	/** 实际控制人配偶手机 **/
	@Column(name = "ACTUAL_CTLR_SPO_TEL_NO", unique = false, nullable = true, length = 15)
	private String actualCtlrSpoTelNo;
	
	/** 财务负责人 **/
	@Column(name = "FIN_OFFICER", unique = false, nullable = true, length = 20)
	private String finOfficer;
	
	/** 财务负责人手机 **/
	@Column(name = "FIN_OFFICER_TEL_NUM", unique = false, nullable = true, length = 15)
	private String finOfficerTelNum;
	
	/** 财务联系人 **/
	@Column(name = "FIN_CONTACTS", unique = false, nullable = true, length = 20)
	private String finContacts;
	
	/** 财务联系人手机 **/
	@Column(name = "FIN_CONTACTS_TEL_NUM", unique = false, nullable = true, length = 15)
	private String finContactsTelNum;
	
	/** 财务报表类型 **/
	@Column(name = "FIN_REPORT_TYPE_ID", unique = false, nullable = true, length = 10)
	private Integer finReportTypeId;
	
	/** 总资产 **/
	@Column(name = "TOTAL_ASSETS_AMT", unique = false, nullable = true, length = 18)
	private java.math.BigDecimal totalAssetsAmt;
	
	/** 总负债 **/
	@Column(name = "TOTAL_DEBT_AMT", unique = false, nullable = true, length = 18)
	private java.math.BigDecimal totalDebtAmt;
	
	/** 年收入 **/
	@Column(name = "YEAR_INCOME_AMT", unique = false, nullable = true, length = 18)
	private java.math.BigDecimal yearIncomeAmt;
	
	/** 年利润 **/
	@Column(name = "YEAR_PRFT_AMT", unique = false, nullable = true, length = 18)
	private java.math.BigDecimal yearPrftAmt;
	
	/** 是否我行股东 **/
	@Column(name = "STOCK_HOLDER_FLAG", unique = false, nullable = true, length = 2)
	private String stockHolderFlag;
	
	/** 拥有我行股份金额 **/
	@Column(name = "HOLD_STOCK_AMT", unique = false, nullable = true, length = 18)
	private java.math.BigDecimal holdStockAmt;
	
	/** 通讯地址-省 **/
	@Column(name = "PROV_ID", unique = false, nullable = true, length = 10)
	private Integer provId;
	
	/** 通讯地址-市 **/
	@Column(name = "CITY_ID", unique = false, nullable = true, length = 10)
	private Integer cityId;
	
	/** 通讯地址-区 **/
	@Column(name = "COUNTY_ID", unique = false, nullable = true, length = 10)
	private Integer countyId;
	
	/** 通讯地址-详细地址 **/
	@Column(name = "PHYS_ADDR", unique = false, nullable = true, length = 30)
	private String physAddr;
	
	/** 邮政编码 **/
	@Column(name = "ZIP_CODE", unique = false, nullable = true, length = 10)
	private String zipCode;
	
	/** 联系电话 **/
	@Column(name = "MOBILE_NUM", unique = false, nullable = true, length = 15)
	private String mobileNum;
	
	/** 固定电话 **/
	@Column(name = "TEL_NUM", unique = false, nullable = true, length = 15)
	private String telNum;
	
	/** 邮件地址 **/
	@Column(name = "POST_ADDR", unique = false, nullable = true, length = 30)
	private String postAddr;
	
	/** 官网地址 **/
	@Column(name = "OFFICAL_WEBSITE", unique = false, nullable = true, length = 50)
	private String officalWebsite;
	
	/** 备注 **/
	@Column(name = "REMARK", unique = false, nullable = true, length = 200)
	private String remark;
	
	/** 注册日期 **/
	@Column(name = "REG_DATE", unique = false, nullable = true, length = 8)
	private String regDate;
	
	/** 注册国家 **/
	@Column(name = "REG_COUNTRY_ID", unique = false, nullable = true, length = 10)
	private String regCountryId;
	
	/** 注册号 **/
	@Column(name = "REG_NO", unique = false, nullable = true, length = 20)
	private String regNo;
	
	/** 注册地址 **/
	@Column(name = "REG_ADDR", unique = false, nullable = true, length = 40)
	private String regAddr;
	
	/** 是否负债 **/
	@Column(name = "DEBT_FLAG", unique = false, nullable = true, length = 10)
	private String debtFlag;
	
	/** 财务联系人职务 **/
	@Column(name = "FIN_CONTACTS_POS", unique = false, nullable = true, length = 20)
	private String finContactsPos;
	
	/** 法人居住地址 **/
	@Column(name = "LEGAL_LIVE_ADDR", unique = false, nullable = true, length = 60)
	private String legalLiveAddr;
	
	/** 法人联系地址 **/
	@Column(name = "LEGAL_CONTACTS_ADDR", unique = false, nullable = true, length = 60)
	private String legalContactsAddr;
	
	/** 经营场所 **/
	@Column(name = "OPER_PLACE_ADDR", unique = false, nullable = true, length = 30)
	private String operPlaceAddr;
	
	/** 配偶姓名 **/
	@Column(name = "SPOUSE_NAME", unique = false, nullable = true, length = 20)
	private String spouseName;
	
	/** 配偶年收入 **/
	@Column(name = "SPOUSE_YEAR_INCOME_AMT", unique = false, nullable = true, length = 18)
	private java.math.BigDecimal spouseYearIncomeAmt;
	
	/** 配偶工作单位名称 **/
	@Column(name = "SPOUSE_EMPLR_NAME", unique = false, nullable = true, length = 50)
	private String spouseEmplrName;
	
	/** 配偶工作单位电话 **/
	@Column(name = "SPOUSE_EMPLR_TEL_NUM", unique = false, nullable = true, length = 20)
	private String spouseEmplrTelNum;
	
	/** 配偶工作单位地址 **/
	@Column(name = "SPOUSE_EMPLR_ADRESS", unique = false, nullable = true, length = 50)
	private String spouseEmplrAdress;
	
	/** 联系人 **/
	@Column(name = "CONTACT_NAME", unique = false, nullable = true, length = 20)
	private String contactName;
	
	/** 联系人职务 **/
	@Column(name = "CONTACT_POS", unique = false, nullable = true, length = 20)
	private String contactPos;

}